﻿namespace DotRas
{
    using System;

    [Serializable]
    public sealed class RasCcpInfo
    {
        private RasCompressionType _compressionAlgorithm;
        private int _errorCode;
        private RasCompressionOptions _options;
        private RasCompressionType _serverCompressionAlgorithm;
        private RasCompressionOptions _serverOptions;

        internal RasCcpInfo(int errorCode, RasCompressionType compressionAlgorithm, RasCompressionOptions options, RasCompressionType serverCompressionAlgorithm, RasCompressionOptions serverOptions)
        {
            this._errorCode = errorCode;
            this._compressionAlgorithm = compressionAlgorithm;
            this._options = options;
            this._serverCompressionAlgorithm = serverCompressionAlgorithm;
            this._serverOptions = serverOptions;
        }

        public RasCompressionType CompressionAlgorithm
        {
            get
            {
                return this._compressionAlgorithm;
            }
        }

        public int ErrorCode
        {
            get
            {
                return this._errorCode;
            }
        }

        public RasCompressionOptions Options
        {
            get
            {
                return this._options;
            }
        }

        public RasCompressionType ServerCompressionAlgorithm
        {
            get
            {
                return this._serverCompressionAlgorithm;
            }
        }

        public RasCompressionOptions ServerOptions
        {
            get
            {
                return this._serverOptions;
            }
        }
    }
}

